Updated Application.java