Add licence file and fix documentation
Fix lint ERROR: trailing whitespace