This version switched to Python3.

There is now also one function to do the renewall.

Cube-specific things should happen in the cube-specific app.