Improve pairing class with iter_data by given keys

Also move common config tools to lib.exp.tools.configurator
Add basic crossing function