DB modified to use sqlite