Fixed license headers and formatting