Added licenses to the code.