Added database and OrmLite for search history