ActionFactory (Concrete) implementation and driver code