Tries to load resources first, falls back to class load at the end

If there is any matching classname (regardless the case), it should be checked at the end.