adding availability check for a list of OCDB objects, code cleanup and updated docume...