Changes to use sqlcipher