added a license
adding a few cleanup things