-basic crud functions implemented and tested