The new #395 PR is single-threaded, but I guess I need to add a proper initialization function to be called a `main`