Refactor constants

I think this is now ready to be merged.
Would these values be any different in the dev/test/etc? Also, I'm wondering what the considerations would be if we just put these into our environment_variables.yml