First pass implementation of ParseLine