Refactored the main filter class, primarily to make it easier to test. Created constants enum to contain fitler parameters and defaults, created config class that deals with config initialization stuff. Added tests. Some refactoring in shouldShowPrerenderedResult because this is part of the blocking path and most requests will not be prerendered we want to fail fast with minimum work.