Refactor|Resources: Moved rest of r_data.cpp to api_resource.cpp; cleanup