The controller does not depend on the entire config container anymore. Added unit tests.