moved Java code to firerest-client repository