Moved constant definitions out of constructor

Otherwise, if you ever construct more than one instance of the object you get a whole load of redefinition errors!
Merge pull request #31 from BenWoodford/patch-1

Moved constant definitions out of constructor