adding dbs and db-connection apis. For now creation and consumption
adding the option to get entity by its id
using recrods instead of maps for a database and indices