added comments and docs for rsrc classes