Refactors app into modules

refs #2
Adds server to provide json data
Various changes to JS app

- Splits JS into multiple .js files
- Adds initial server communication to retrieve json data and display it