delete unnecessary methods from Application.java