I'd establish the slope of the road first, then modify the foundations of the buildings to fit. The land under the houses would mostly be at a slope, with piers set into the grade to level the houses. Company houses weren't known for their comfort...
Lee