Use constant for a better abstraction.
Merge pull request #3 from Hywan/constants

Use constant for a better abstraction