groundwork; laying the foundation
Used both literally for construction and figuratively for preparing the basis of a project or plan.
Before building a house, solid groundwork is necessary.
The success of the project depends on the initial groundwork.
Compound of 土台 (foundation) and 作り (making).