Solved HuntField constructor error on while loop (setItem method access).
Implemented synchronized methods and code formatting