clean up client
restructure rmiAccept and prepareTarget
doc update