Extracted code constants to class