Add simple widget API, network status querying