Added support for storing thulog data to sqlite db file