added License (CC-BY-SA)

also added a few other files and made changes to Rnw