Operation Enum

Added operation enum stuff and automatic fixes in constructors