Test and Doc.

Initial testing and documentation.
Still needs some work.