Add mongodb start via grunt
Refactor socket communication into service