Added BSD license header to source files.