Initial PDO version of db singleton