Separate View from Model and Controller