Add 404 errorhandler
Lint fixes
Move manage to top-level