Added CategoryBean and made the searchbar fetch the categories from the database.