Extracted routes + cleanup

Extracted routes for more clarity.
Next step is to export Users and Torrents providers as separate modules.