revised ItemController, ItemRepository and added views for items