Adding license and minor fixups.