added cabal build and sample