Simple API and helper classes for command line polling and processing.