create interactive editors using python's cmd.Cmd