add sample management and task scaffold