added search functionality to entry model
resolved #47