added haddock and Makefile