bug #56: Initial commit to repo of affinity classes.