add licenses and fix some things in the readme