Initial commit of ViewModel code.