Fixed various bugs.
Added a very basic cabal configuration and fixed a bug in MoofParse