added licence headers to source files