remove unesscary files and add java client code