The Singleton Pattern Explained: Database Connection