added main method in Main.java