Singleton and database connector implemented