Use 'path' module to resolve server root

- This should take care of path issues on Windows (#6, #3)
- Moves server root configuration to config.js