rename IndexController to ViewController