Modular Mapping And Learning For Robotics