Add support for an advanced task scheduler managed by the application.

"whim" is probably not the best description :smile: