Implement multithreading app