added process progress to manager
restructured internal proccessing of simple template and added control and comment calls