pins model controller and views