Flexible automation of micro and meso-scale manipulation tasks with applications to manufacturing & biotechnology