Moved adjusted price generation to its own class.