Removes all magic numbers and put the CONSTANTS instead them.