introduced pre processors that are run before the actual endpoint handler. replaced the log factory with a new pre processor