Add setup.py.

Might also need a licence but I can't decide that for you :)

What's the state of the c implementation?