Replacing os.system in doSM.py by usage of classes

Copied classes included in python scripts located in "scripts" to separate python files in "python".
Exchanged usage of os.system() in scripts/doSM.py by these classes.