Messed with RDL implementation

Began cleaning up and rewriting generation code to work more elegantly
and universally (esp to handle nests)
Added alternate syntax to rdl