Create CommandHandler class. Make Task class public.