refactor all the routes out into separate files. we also had some requir...

...es that weren't being used at all