move commong routes into own class for testing (automation)