Tries to load resources first, falls back to class load at the end
Merge pull request #13 from sagikazarmark/fix/order-of-load

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