Added haddock documentation, a cabal project file and setup script.