simplified the app_router
fixed major memory leak
fixed tests and mocks
Merge pull request #17 from mikeedwards/bridge-browser-crash

fixed major memory leak