refactored InputParser and deleted unused namespace usings