May just about work now.

Still needs to be tested.

And implement cron setup in setup.py.