added line items, purchases, relations between models