Update MainManager.java

Got rid of all unnecessary code