added a manager to easily create items, and some logic for controlling inventory