ACOSO:Agent-based COoperating Smart Objects