refactoring and new bash script commands
Merge pull request #1 from nelly-hateva/slave

refactoring and new bash script commands