Moved all the sending into their own functions
Fixed this bugs
Merge branch 'master' of https://github.com/drflammified/D3

Conflicts:
	node-rest-api/routes.js~