Added mapi task properties and expanded Task class