Split TileEntityFoundry into a energy version and non-energy version.
Rewrite the API.