A modular engine to parse natural language commands