add bsd licence to all the source files