basic line item model, lots of notes and cleanup