Add cabal project files. Deal with ghc warnings