A simple extension to the CMD python class to create command shells with a plugins, scopes and variables