Not a good idea since you dont want to inject containers into classes. That would require me to inject the container into the database layer classes. The reason why this class looks weird to you is because it abstracts all those weird static methods. In the future this should be replaced by actually shipping classes that you can instantiate.