extracted parser from Util and created PraseDim class.