Carving persistence library to for DB drivers.
Build system
Compilation fixes