Towards Morphological Flexibility: Modular Robotics and Bio-inspired Control