Added edit functionality

Also updates views and added links to show, and edit functionality