SQLite wrapper for iOS and OS X