Make Router an interface for easy testing