Added sample IndexController.java