added license file and headers