First implementation of RMI Server. Minor fixes.