Rubocop fixes and fixes to the license