Update Controller.java

Got rid of all unnecessary code