Added ability to register as well as necessary components in service layer and di framework.