server side of crm project, implementing restful services connecting with mongoDB