Sam : a Tool to Ease the Development of Intelligent Agents