Added licenses to the code files