DOM based View class