Added a thread example and a Protocol Buffer example