code: public void registerProcessor(String processor, Priority prio) {
  		this.processorNames.get(prio).add(processor);
  	}
docs: method to register a processor
  @param processor processor to be registered in the processormanager's list
  @param p priority for the process to take