A Simulation-Based Layered Framework Framework for the Development of Collaborative Autonomous Systems