Initial input configuration. Still needs some cleanup.