code: private static ControllerRegistry build(ControllerLookup lookup) {
          List<BaseController> controllers = new LinkedList<>();
          controllers.addAll(lookup.getControllers());
          return new ControllerRegistry(controllers);
      }
docs: Uses the given {@link ControllerLookup} to get all controllers.
  
  @param lookup an instance of a lookup class to get the controllers
  @return an instance of {@link ControllerRegistry} with initialized controllers