Set up initial data structure.