Defined shared schemas.
Updated controllers to use methods defined in models.
Added validations for cart items and price based on user's settings.