use cabal to build executable
Merge pull request #3 from etrepum/cabalize

use cabal to build executable