added struct database to maintain the sql-dbs