Command abstract class added for implementing Command design pattern