start of sqlite key store

need to fetch and check keys
insert into database
look into storing peer nodes in sqlite
even data into sqlite3

...