Outline software architecture for robot