Broke out Twisted initialization into its own file.