Set up initial solution structure.