Started to refactor prototype interval and econ utils