routes to a separate file

follow the same structure, but for modularity i take apart routes