Made new Main class