Fixes for haddock
Add LICENSE file