Forgot to include the magical exports declaration in the config file, misc. fixes to server.js