Added lib and fixed tests.

Fixed a bug in viewModelBinder related to logging.