the foundation had been laid down in 1761 , then several years to build it , before being occupied by a london gentleman who wanted a country cottage to wile away the lazy summer days at the seaside when the heat of the city got too oppressive .