Directory restructure

This PR adds a little sanity to how files are organized in the project. I am following the model in the book "Nodejs, mongodb, and angularjs web development".