Added license file. Cleaned some things up.