smart get func, add getall func, if key not exist - returns nil