Refactoring for python3.4 support, add ssh command to docker