BaseCommand class