Removes the recursion from findResource, should make it a bit faster
Reworks find, returned resource should always be type of resource
Cleans multiton
No need to manually add elements to array
Extension can be callable, exception thrown if invalid
Some dockblock changes, minor fixes
Fixes readme markdown code [skip ci]
Merge pull request #11 from sagikazarmark/feature/optimize

Optimizes code