add BFTask basic sample code