Finished the layout and view implementation.