More crud

A lot of views added and more logic for CRUD