Store the name of the selected resourcepacks instead of the object
references, added JavaDoc to ResourcepackManager