added license file and to code