finally found out how to move routes into separate files