added full crud, and view updates