add -Wall flag for ghc
clean up main
lower verbosity for precommit script