split implementation of simple from rel.go

I’ve moved the code specific to the Simple implementation to its own
file.