Add basic CLI processing

Each module must add handlers for its parameters.