add files for thread class