added sql command type enum and interface