Initial draft of NBT classes