move pb config to riak_api