Made the MachineCode classes case classes