Moved view model to own file.  Support for maximum fine levels.