Fixes to interface and documentation.
Add test suite and code skeleton.
Update .gitignore to include *.out files.