Refactored the server's core.
Divided the whole thing into loadable modules and cleaned p server.js.