Complated single_process_task_manager. enhanced task_manager_base. made correction in types.h