Added RMI support to server