Added CRUD operations to database access