Added skeleton of thread for playing