- Refactored code

- Refactored code so that both backend and frontend use RequireJS
modules
- Cleaned up server routing code