some changes in demo2
adds license to readme