hooked up java client, add ping to daemons
starting to replace exit()'s with exceptions...