Issue 18

Change resources from a JS Array to Map, w/ backwards compatibility.

Makes resources and models the same
Yeah - though not sure best way to model this in the current iteration - would require more complex changes to UI