data-api How to use modular database logic to load data into a database and perform CRUD operations in an App