change file structure to reflect MEAN best practices
moved database  routes definitions into separate files
back-end code complete, cleaned up and split into controllers and services