Implemented View class and Layouts concept.