fix documentation and licence