directory cleaning, preparing for segmenting of utils
added trace example
fixes on some bugs found in util library