Added some more functionality to the service container so we can have some better conventions for initializing dependencies. Fixed bugs in archetype and component init logic.