use console.error to report errors
router: add deletion of items
pass module to custom schemas/routers