Google carries out major restructuring of its business