added mongo library, updated architecture, created new classes for working with mongo DB