first draft of the resource layer (specs missing)