rearrange models, add helper module
modularize routes and helpers