mongoose configuration added
added new dependencies
added persistence
structure changes