Starting mon define to class conversion