PDO transition

PDO DB class is done, in all preliminary tests no errors so far