Updated flickr viewmodel to typescript