add docs and licence