implemented C and some R of CRUD