added license and removed cruft
added license and removed cruft