delete some file and add thread local

Signed-off-by: yangsong <yangsong@vuclip.com>