added a license

removed some unused references