added more trivial views for Delete/Details/Edit; changed SPG.Id from string to int