adding ioc.ctor for object composition from a constructor