High-Level Control for Modular Robot Systems