let the LineParser class methods do the parsing entirely
3 design options