Code reorg, bug fixes

Improved code organization, automated Express routes, bug fixes on
fetch/save