refactored views and controllers so that they're centered around the item_purchases model instead of the items model