add ability to init and close browser