code: function getOrRegister(name, definition) {
      if(name && !definition) {
        return registry.get(name);
      }
      if(name && definition) {
        return registry.register(name, definition);
      }
  
      return null;
    }
docs: get or register a service