refactoring knockouts viewmodels