organize, move operation and operation type out of the editlog