Add Input struct and IOParser class