Changes to make the example program better structured with regards to how cabal is handling stuff.