Core: refactored View model into separate View and Element models.