Formatted domain.

Fixed domain. Removed view models.