Refeactored configuration classes so that objects outside of the service bus domain are only registerd when an instance of the service bus exists.