[refactor][s]: split api stuff into separate routes file.
[package.json][xs]: make underscore dep explicit.