refactor selenium server & ssh tunnel creation