add license, clean up some stuff