Modularity in robotic systems