[WIP] refactor module for routes.

INCOMPLETE. DO NOT MERGE.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| Refs tickets  | #1788 
| License       | MIT
| Doc PR        | -

## last major problem:
  1. cannot access route reload (or anything in the admin) because all the routes are non-functional in the adminpanel interface (due to this refactor). need a way to reload the routes without going to standard admin interface but just for this module. maybe something from the user interface? hidden by permissions? ping @cmfcmf 
because the prefix route is `/adminpanel` I see no reason to make it `/adminpanel/admin` - it seems redundant. no conflicts with other routes because of the module prefix.