Added licenses to the main and sample modules.