Model layer: add EntityFactory and MongoRepository classes + EntityNotFound exception