updated documentation
Implemented DatabaseAPI to hold indeces for current objects