private static void addCustomHandlers(UriHttpRequestHandlerMapper registry) {
		Reflections reflections = new Reflections();
		log.info("Scanning for Custom Handlers");
		Set<Class<? extends Object>> subTypes2 = reflections.getTypesAnnotatedWith(CustomHandler.class);
		for (Class<? extends Object> class1 : subTypes2) {
			if(class1.isAnnotationPresent(CustomHandler.class)) {
				try {
					CustomHandler i = class1.getAnnotation(CustomHandler.class);
					String id = i.value();
					Object o = class1.newInstance();
					if(class1.equals(TimeJobs.class))
						jobService = (TimeJobs) o;
					if(o instanceof HttpRequestHandler)
						registry.register(id, (HttpRequestHandler) o);
				} catch (InstantiationException | IllegalAccessException e) {
					log.error("Error while adding Custom Handler", e);
				}
			}
		}
		log.info("Found " + subTypes2.size() + " CustomHandlers");
	}