The Artificial Ecosystem: a Multiagent Architecture