search incorporated

now it can search from the database created by reading the .csv file