modular input parsing system