Code cleanup
code cleanup and documentation
new test
new test
Version 1.0 - ready for production