Update DatabaseInteractor.java

Fully functional DatabaseInteractor with comments.