Added a try catch which sends status code 91 around new_conn_callback so tor disconnects if there is an error in the fog client
changed the default fogrc file to ./fogrc so it finds the file.
refactored the configuratiom, client, reactor, and pt_methods_names into a object called fog_client