make middleware pack export primitive middleware directly
update code to use primitive middleware directly
shuffle exports

- export router directly
- move static to middleware pack
- export middleware pack