Improved mongo repository and added mvc controller.