Moved constants into their own module.

Addresses issue #14.