cabalized package

Added a cabal file to make packaging for hackage possible