Community pitches in to tell the stories of the railways