migrated getData to new ResourceManagement class