Added RMI.

Renamed package Shared to Networking.
Started implementing RMI.