remove cabal file, fix warnings