How to create classes?