added snacks controller and index view