Added a NBT woker to get the reading and writing into one class