Started implementing DB libraries and changed references from order to item by ID instead of actual object reference