Re-structure of TileEntity files