Put most things into python
Moved all functions except restart to python
Moving EVERYTHING into python
Hex numbers corrected
Merge pull request #8 from pjrh/reorganise

Reorganise