Added InputParser class