Build data structure and scaffold