refactors deployment path

for some reason lazy attribute evaluation doesn't work when wrapping a cookbook
(DIAF Chef). moves logic to helpers module and removes the injection of logic
there.