How to run my own class?