refactor stream brake to keep more closely to the desired flow rate
forgot to add some files
move scheduling logic into its own function in stream brake
continue working on json and dom sources