Base framework for access varities kindes of database