Rewrite bin/deploy to support local and remote apps
Improve Cabal layer
Improve cache cleaning