added search database class