Main class file