Update verify, index, fixed two set codes
Added the java files
wip