added some liscenses and code fixes ect..