resource_loader module, implements load_resource method on controllers for simplified restful controllers