Removed all usages of the obsolete interface DualCommandFactory.
Removed the obsolete interface DualCommandFactory.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>