SQLite database manipulations

add features of manipulation of database