Got IoC container working