[#82010566] WIP, NOT READY TO MERGE: adding declarative syntax for defining states... 

Need to figure out the best way to get dr.resource into the namespace so dreem doesn't attempt to load it as a dre file