added save, getById and getAll for all DB tables