Writing master thesis in a company