Fix up format of cabal file and add shitty main.
Add cabal dist to ignore.