Allow user to override the handling of requests
Error page
Remove duplication
TODO
Unused code
TODO
Fix pom
More extensible