Added index page
ff
Added index template redirection
Controller
Separate REST api from the web app