Add networking to the API