From Agents to Artifacts Back and Forth: Operational and Doxastic use of Artifacts in MAS