Moved several of the hard coded parameters to a special header.

This allows for easily finding them plus shows us what not to hard code in the future.