Added thread support

Updated class to support thread handling
Created thread class

Class now manages given process data.