add leg level to tasks
thread manager changes
some more changes
latest
add missing classes
add all the classes to glue it all together
all all the missing header retry code
some classes for missing headers