Refactor GHC layer functions
Refactor Cabal layer functions
Refactor sandbox layer functions
Refactor app layer functions
fixup! Refactor Cabal layer functions