rename Main.java to Controller.java