cms constants seperated to class