A Developmental Model for the Evolution of Complete Autonomous Agents