Add agent, mailbox and timer