adding more functionality and oop structure to deployShell.py