added a View class - 'homeview'