Big integer constants fix

This PR merely moves all of the global constants into class constants. I only updated constants that are not referenced outside of the class, and left the others for a later date.