Used objects to represent views and model