Enhancement: Inject mapper instead of pulling it from ServiceLocator

Instead of pulling dependencies in from the service locator, they should be injected by a factory.

This PR

* creates factories for `IndexController` and `SearchController` which inject the module mapper
* updates the module configuration
* updates the test setup

:bulb: Speaking of tests, the existing test doesn't assert anything, really.