Use cabal instead of make

Also add a LICENSE file (public domain)