format and test data
data structures and support for parsing train data
support for bus leg
fix initialization