implement Route class