A Double Loop Feedback Control Model and Decentralized Architecture for Autonomous Robot Software