first implementation of Routelink class