Begun switching to NBT

WIP