and then secondly fire up the router in a second java process when extraction is completed. Gonna use "optional" type in C++ to make global variables a bit less painful to use.