Cleanup of TgameCore and added NBTUtility