items: added support to get available quantity directly and in bulk. Some method names refactoring.