Code clean up (Controller, Factory and Repository classes), particulary the 'use' statements
MongoRepository: add the getById() function