code: public static KaryonServer forApplication(Class<?> mainClass, Module... modules) {
          return forApplication(mainClass, toBootstrapModule(modules));
      }
docs: Creates a new {@link KaryonServer} which uses the passed class to detect any modules.
  
  @param mainClass Any class/interface containing governator's {@link Bootstrap} annotations.
  @param modules Additional modules if any.
  
  @return {@link KaryonServer} which is to be used to start the created server.