I remember reading a novel a while ago where the mc is a poor person who absorbs the memories of an ancient forging master who teleport into the future straight onto some train tracks. A train comes and hits him and the mc absorbs the guys soul after it tries to take over iirc. The mc goes onto relive the memories of the old guy and go through his days as a forging apprentice all the way to being sect leader. This is all set in a futuristic setting. Any help finding this would be greatly appreciated cause I remember the novel being quite good. Thanks a bunch.