Basic implementation of CLIParser. Should work for initial release as is so long as no one tries to break it on purpose.