Added a license file and made a few other minor changes.