Refactored connectionViewController code into manager. Fixed bug with browser delegate being set before setup complete