Improved documentation. Fixed Example.js to work without tweaking. Started the unit tests.