added threading the  transformation and  created a small library that can load configurations