add cabal file and LICENSE