Moving cabal config into its own class