Do not use TF define strategy until TF::init is done.

Logging/error handling has not initialised yet.
Refactor: Inifile loading strategy

* Refactoring
* Added auto-loading of tf.ini if no inifile is specified in the TF::init() call.