PDOFactory class