Small improvements

* Added decryptDatabase function
* Fixed SqlDriver