Changes to faciliate correct RMI. Added lib, build.xml and policy files.