[WIP] data structures for resources

This PR introduced some data structure to represent resources.
Unclear why this is a map of maps?  Also, if this is needed, the struct part isn't gaining you anything: Just ```type ResourceSetSet map[string]map[string]*Resource```