Begin addition of replication relationship table

Does not work yet