Moving to nodejs and mongo db