Added request function, added math and setup proper mongojs