Moved ctor/dtor into init/shutdown to have class ctor fully initialized prior calling initialization code.