Update cabal file, haddock documentation