rationalied the include structure and added a method to do the multithreaded execution of actual operations. All administrative stuff is inside this function. Probably will be more variants of this one.