Initial commit.

Basically these are features that have been separated from the platform
implementation.
This allows for a much more sophisticated network architecture and
resource system.