added license headers to source code