Clean up server

cleans up server.js a bit more - big question is: should we have the plugins list in config.js? Or should it be its own file somewhere?