moved everything to cabal like a good haskeller, and set up test-framework