Adding class to execute pig tasks