Split into hpp/cpp files. Add numeric first parameter. Call usleep in worker thread. Updated run.js to show non-blocking nature of the call.