added base class for command handlers