Added an IoC helper method to access the IoC container
Implemented the session class with give, put and all functions.