First attempt at a network API