Preparing for the bigger changes which will be related on passing
dependency graph to various callbacks which need it.
Needed to also move timer API to use explicit re-initialization.
Before the timer API was relying on using a callback API to do
initialization when new file is loaded. This isn't how rest of