Added abstract class Command in order to implement Command design pattern