added main in server.js