creating server.js before class starts