rename "item group" to "line"
an line to a line
rename group_id to line_id
tidy up use of word "group"
rename "structure" to "block" (also capitalised)