move haddock executable to a separate package and export a few more things in the library