lightweight wrapper for php sqlite3 database