Db methods implementation, Private key representation bug fixed
Merge branch 'feature-db-identities-queries' into develop