how to create class object in python