Moved our code to passing functions by const ref
* Refactor Delayed Tasks to their own class * fix some comments * Update BUILD.gn