added agent example
added new api for cpe sim