extracted router in own app