better OOP for maintaining routes