Refactored the HBase DB impl