Turn module and application into DI containers.