Singleton for database connection

We use only one connection to the database using the singleton pattern