Resource oriented framework