split the server in seperate files
Split server.js