Added controller methods, index view & generated model