Refactor DicInfo.
Split DicInfo to multiple classes.