Added member scope for resources
This needs to be a separate class. Need to rethink resources