Added constants, tests, and some methods.

So basically some of everything.
But progress.  Slow and steady...