Change the format of operations

From {Type, [Path|Opts]} to [Type, Path, Opts]
Merge branch 'refacto/change-op-format'