added licence to top of each file