add routes, and home view
add main controller, home view and fix external script references
add main controller, home view and fix external script references