reworked tester flow and resolver

rewrote the reference loop
- ditched triple loop
- added reference map with low-fi queue resolver

simplified promise flow
ditched some methods
move print code to helpers