reorganize namazu utils