added Threads directory and examples