Refactorization in DatabaseHandlerInstance