made Gambler model, controller and views