complete basic mongoose integration.
Restructure server to use controllers for logic.