large refactoring of code. Moving Mongo example to factory. renaming files to better fit AngularJS naming conventions.