Split off cmdparser.[ch] from cmdparser.[ch].
!!!more work on parser replacement.