command supports expectedExecutionTimeSec and maxExecutionTimeSec
refactoring
logging