Cognition and Interaction: From Computers to Smart Objects and Autonomous Agents