Refactor deployment functions
Refactor GHC functions
Refactor Cabal functions