controller object to manipulate models and render template