added thread-clients lib and removed inpleace merge because its a way to tricky