Build via -Wall & fixed two warnings found by this
Added more documentation

The duplication between README.md and the API documentation is a bit
annoying, I'm not sure how to resolve that yet. Maybe Haddock can be
made to generate Markdown?