code formatting unified + missing licence headers added