Added handling of not existing key
Added inventory items processing #7