extract LineParser class methods into a module
rename LineParser to ParsedLine