created server object in main.js