move planner  itin string building logic of methods into .py file from .mako