added NBTTypes class, updated references