Randomness as a tool for modeling and uncovering structure