Fixed main module and cabal to allow compilation.