clean things a bit, add a DSL for declaring rels