Adding config provider to view models