Refactored the abstract crud classs

Introduced some minor changes in other classes(see log).