Network and Auth

Introduces core network and authentication functionality.