Update cabal file
Added help and debug flag.
Cleaned Main.