Connection to database with PDO and Singleton pattern