add main controller, home view and fix external script references