Added base for transactions in sqlite db