implemented basic api bridge