Fixed load_resource to be less critical and always choose one of the registered resources, if possible; updated setup.py