Modified Command singleton pattern