added angular routing
broke up js file into separate files