modified Application.java and routes