basic api and app working