Started document the public API
Modified .gitignore so it reflects the current directory layout
Removed debug stuff
Fixed typos