adding signal emission
Merge pull request #8 from fpaut/agent_signal

adding signal emission