Added mongoose integration and ui-router