Added BaseCommand class