routes get app passed in, it's a pain to manage the global :P (fix-routes)