added haddock for modules