Add NbtTagFactory.

Signed-off-by: yushijinhun <yushijinhun@gmail.com>