moved route to its own file