Remove unnecessary class name qualification. The class namespace already covers it.
Pull out Service::EnvironmentVariable from Service::FileSearch

This class handles all interactions with environment variables.
Like figuring out XDG_DATA_DIRS with an appropriate fallback.
Use Service::Environment to figure out $HOME, $XDG_DATA_DIRS

Don't search for icons in paths that are not directories