added the API for connectivity, added hack to element wrapper to handle data structure returned from connectivity API