Created Cart and managed relationships between models