renamed thread module to 'threadz' to enable importing