Added singleton example for database connection