Finished rework of ResourceMgr, added CircuralArray, removed
RailwayArray, removed TODO.