Clean up and add a license.