Updated for new threepenny API and added Cabal.