Comleted secondary_process_task_manager and main_process_task_manager classes. refactored single_process_task_manager.