Introduced js folder
Broke up application into controllers and services