First python scripts
Created by: orelgueta
The first PR introducing actual python scripts. Not all code was tested, but the main parts were and should work. No additional features were added thus far, just the notebook functionality put into python scripts.