renamed model to app_db