Relational Class Analysis