implemented AndroidBridge. refactored Bridge