Refactored JsonWithPadding - usable with Servlet
Added path parsing to CORS
Registering filters based on @CORS