Add basic database access