Initial version of a resource model.

Tweaks to reflect comments from thockin