a wrapper of sqlite for iOS