Added structure for sqlite db