renamed Main class