Refactor file copying and caching
Improve tmp dir names
Refactor deploying
Refactor GHC functions
Refactor Cabal functions