Make everything derive from an initial set of constants.
Add a ton of comments.