Created class line_item and updated other classes