Made a cabal file for this library

This will let us put the library up on Hackage, on top of making it easier to build the library in future.