fix vcs type
add haddock documentation