Added BSD license header to each source file