Code working well enough for submission.  Add and cleanup documentation next.