change queue to a generic data structure
list now use queue to store its children
FIX IT : memory leak in tokenize()
rename some files