Dialog system changes and framework overhauling