adding code to implement the DatabaseHandler as a Singleton