Working test app with offline data and sync to cloud