Split database operations into st_operator class.