Added copyright notice to the source files

Also appended .txt to the docs