add a license and other tweaks