minor refactorings
development of utility classes for dealing with different thread related settings