Updated license, split module into two -- main part, and MongoDb part