licence addition

added reference to apache license in each source file