Added variables and come functions in Model and User input in View.