Added map parsing and fixed some things with the cabal file.