move new relation classes into metadata package