create repo model controller and view