added license to all source files and included license.txt