added item search

Added new controller for item search and did mapping from database for
hibernate