Abstract command executor