added enum category
Revert "added enum category"

This reverts commit 1efc80b05579281c4c5a438fbaa2eec43cdf3f1d.
added enum category
Split up functionality in RetrieveItemThread