First working copy.  Now to add documentation.