adding app_api and models