Replacing custom database connection with PDO.