restructured
added RemoteTaskManager