moved sendNotification and getContacts to CapeAgent
buildingagent automatically finds a state datasource using the merlin agent