Added license and customized the cabal file.