Added code to define Interface, Classes, etc and retrieve an instance from MongoDb