Adding Application.java and a skeleton for MainController