Dev/browser

refactor for browser apis