Added a function to return an instance of a registered class from the Io...

Return an instance of a class from the IoC Container