Rewrited furnace.txt loading

Leaking `InputItem` and `OutputItem` here.