add: check for empty algorithm, privateKey
add: db schema
fix: rename db schema file
test
add: utils, isjson