Finished Mongo adaptor, cleaner up code, added comments
Updates to front end.