Finished refactoring examples, changed arguments for build_tor_connection