add -w option to wait for linking to complete
implement chain count as distributed calc
configure entry listeners in the code to allow dependency wiring