fix data storage remaining rows bug
build db from sql file
rename reghaabats table to libraries
rename reghaabat_id
add primary keys