split out routes inside main for testing (automation)
add test for main routes (automation)