busline detection and routedir detection implemented