Creating process thread stucture initilization