Implemented first draft of the view initialization.