Create exceptions that map to HTTP 4xx codes
Refactor packages and classes
Delete .cache dir and fix StaticMiddleware
Ignore the .cache dir
Complete tests