remove unused file
add fake mutex class
return confition_type with new realization
add thread protection