added LICENSE file and license headers to all source code files