support for dynamic APIs
exception handling for query methods
cleaning for merge during upsert

added check for at least 1 row for selectKV
added primary_key_column attribute