create class Main