Added constructor to MongoEntityController