tarefa: a Toolkit for Measurement and Control Programs