rename app to api, enable client api config