added pdo singleton (initial version)