Small refactor
Refactor server
Add cwd support to sshWorker