added licensing info preamble to each source file, minor comment cleanup