McLaren lay the perfect foundation as Mercedes and Ferrari crack