database and search
search implemented

database class also implemented