Rehabilitation of houses and farmhouses