tidy up
adding additional methods to router to determine current and previous route
build