Basic wrapper for sqlite