Refactor code constants