Updated/reverted the sql lite database code to text as it is easier
since everything required string format