package images refactor to: resources