Added getInstance method to DBWrapper