Create Main class