MVC pattern Controller crud functions added