add the code for pulling the app data from remote repo.