Restructed server.js position, got repo ready for VM deploy