Adding a View class extension of Component class