cabalize

Make a proper cabal file with the right dependencies etc.
I used BSD3 for the license but feel free to change it.