Made LineParser class