Added app dependencies scripts to the main index page.
Refactored register URL to be a restful resource