added license to files, along with some documentation