Added license file and headers to all code files