Fix cabal file and add some docs.