add Controller.java file