Preformance enhancements

Prior to this commit we did no use threading for this process
this is an intial commit of this functionality