Moved network API stuff to a new namespace. Added a couple request classes.