Add provisions to initialize clock tree

This commit adds functionality that would allow user to
define/initialize the clock tree configuration as a structure, which
allows for simpler and much more flexible clock initialization.