move routes package into main

this way I can run test that refers to relative asset file path