Turn module and application into DI containers.
Refactored container.