A common libeary connection to DataBase