move bootstrap and scripthandler to bridge.