Both Mongo.connect and query are asynchronious functions (usually anything synchronious in node is an extremely bad practice). Something like `async.waterfall` or `async.series` OR the usage of promisses is usually necessary to avoid "callbacks hell" and have a single callback point.