Task interface, context interface and Mapper class