generate pins controller and pins scaffold