An End-To-End System for Accomplishing Tasks with Modular Robots