Background:
I'm trying to organize my code nicely & reuse it later, obviously i have no idea how! so i started experimenting with MongoClient & module.exports, I had no luck so i started adding mongoskin, then i realized node is an asynchronous programming language and maybe that's why i cant see the result in the console, so i got into promises and q, that didn't workout well since i couldn't get it to work right. then I found out there is something out there called winston this dude is suppose to help me log things out asynchronously, but it didnt.I'm trying to organize my code ni