Updated cabal file.
Documentation update, and sample program.