Refactor access to container in appliction away.
More cleanup, add doc comments for DependencyInjection classes.