Further improved abstraction

Improved abstraction by making the ConfigurationCandidatesIterator be a
class in the sim-specific areas.
Removed rf1-only serialization code and made it abstract, too.