Demo app for the use of Thread