added Main class with main method