removed whitespaces, simplified items_controller, and removed helpers