First draft of resource controllers