[REFACTOR] Eliminated lots of unnecessary virtual functions, they became just protected
[ADD] Adde rows counting method for Table accessor
[ADD] Added table to store last row id, added unit-test for table persistense