adding util.constants for configurable values
reducing code line length to meet 120 column limit