Moved sqlite3 to a standalone lib.