refactor pieces modules
test and impl for util.Iterator module
added Iterator.
value readonly getter property
piece code refactoring and tests
refactor pawn module