finished RMI. Little exception handling left.