Resources, Producibility and Economic Dynamics: A Framework