Fix the format of all Java files
Remove Value class and fix test