Added first version of RMI, still broken