Added basic sample
Extended sample to use viewmodel and xhr