require bluebird
connect mongodb and sockets