add api and bridge module