first big commit of line parse stuff.