add templates management for run and newproject