refactor: decouple Route from Server