Found out how to link modules from another class to a single executable via cabal