updated schema, refactored items controller to accomodate the new schema