Adding Singleton database class