Refactor cabal file into library, executable and test-suite
Sketch integration tests