Added module to cabal file
Fixed warnings, added diagrams to haddock