Port of GrocerySync-iOS demo app to Swift