simple-dao implemented save and getbyid