remove hard coded values

Made the specs and the module reflect the constants rather than hard
coding in values